package com.xof.phonecall.base

import androidx.lifecycle.MutableLiveData
import com.xof.phonecall.network.NetworkException

interface IBaseViewModelAction {
    /**显示loading*/
    fun showLoadingipetrpide()

    /**隐藏loading*/
    fun dismissLoadingipetrpide()

    /**处理network exception*/
    fun handleNetworkExceptionipetrpide(networkExceptionipetrpide: NetworkException)

    /**获取当前loading live data*/
    fun getLoadingLiveDataipetrpide(): MutableLiveData<Boolean>

    /**获取当前network live data*/
    fun getNetworkExceptionLiveDataipetrpide(): MutableLiveData<NetworkException>
}